<table>
    <tr>
        <th>Name</th>
        <th>Description</th>
        <th>Actions</th>
    </tr>
    <? foreach ($events as $event){ ?>
    <tr>
        <td><? echo html::anchor('/events/view/'.$event->id, $event->name); ?>
        <td><? echo $event->description; ?></td>
        <td><? echo html::anchor('/events/delete/'.$event->id, 'Delete'); ?></td>
    </tr>
    <? } ?>
</table>

<? echo html::anchor('events/add', 'New Event'); ?>
